package com.hhu.wangzb.server.service.impl;

import org.springframework.stereotype.Service;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hhu.wangzb.common.utils.PageUtils;
import com.hhu.wangzb.common.utils.Query;

import com.hhu.wangzb.server.dao.PvAreaDao;
import com.hhu.wangzb.common.entity.PvAreaEntity;
import com.hhu.wangzb.server.service.PvAreaService;


@Service("pvAreaService")
public class PvAreaServiceImpl extends ServiceImpl<PvAreaDao, PvAreaEntity> implements PvAreaService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<PvAreaEntity> page = this.page(
                new Query<PvAreaEntity>().getPage(params),
                new QueryWrapper<PvAreaEntity>()
        );

        return new PageUtils(page);
    }
}